package general;

import java.io.Serializable;
import java.rmi.server.RemoteObject;

import net.jini.core.entry.*;

public class ProductOrder implements Serializable, Entry {
	private static final long serialVersionUID = 1L;
	private final Product fProduct;
	private final ProductPrice fPrice;

	public ProductOrder(Product product, ProductPrice price) {
		fProduct = product;
		fPrice = price;
	}

	public ProductPrice getPrice() {
		return fPrice;
	}

	public Product getProduct() {
		return fProduct;
	}
}
